<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@include file="/comm/mytags.jsp" %>


<!DOCTYPE HTML>
<html style="padding-bottom: 54px;">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit">

    <title>jQuery h5拖拽多文件上传</title>
    <meta name="description" content="可用input控件选择文件，也可以拖拽文件，可以一次上传多个文件，测试需要后台配合，支持失败重传，支持过滤文件类型，文件大小，及同一文件重复上传。"/>
    <meta name="keywords" content="h5上传jquery上传,拖拽多文件上传,jquery上传,jquery,jquery插件"/>
    <link href="${ctx}/css/demo.css?v1" rel="stylesheet" media="all"/>
    <!--[if IE]>

    <style type="text/css">
        li.purchase a {
            padding-top: 5px;
            background-position: 0px -4px;
        }

        li.remove_frame a {
            padding-top: 5px;
            background-position: 0px -3px;
        }
    </style>

    <![endif]-->
    <%--<script type="text/javascript">--%>
    <%--var txt = "http://www.jq22.com/demo/jQueryH5Upload20160917";--%>
    <%--window.g1 = txt.substr(0, 3);--%>
    <%--window.g2 = txt.substr(0, 19);--%>
    <%--</script>--%>
    <script src="${ctx}/js/pace.min.js" charset="gbk"></script>
    <link href="${ctx}/css/pace.css" rel="stylesheet"/>
    <script src="http://libs.baidu.com/jquery/1.7.0/jquery.min.js"></script>
    <script src="${ctx}/js/jquery.qrcode.min.js"></script>
    <script type="text/javascript">

        var theme_list_open = false;

        $(document).ready(function () {
            function fixHeight() {
                var headerHeight = $("#switcher").height();
                $("#iframe").attr("height", $(window).height() - 54 + "px");
            }

            $(window).resize(function () {
                fixHeight();
            }).resize();

            $('.icon-monitor').addClass('active');

            $(".icon-mobile-3").click(function () {
                $("#by").css("overflow-y", "auto");
                $('#iframe-wrap').removeClass().addClass('mobile-width-3');
                $('.icon-tablet,.icon-mobile-1,.icon-monitor,.icon-mobile-2,.icon-mobile-3').removeClass('active');
                $(this).addClass('active');
                return false;
            });

            $(".icon-mobile-2").click(function () {
                $("#by").css("overflow-y", "auto");
                $('#iframe-wrap').removeClass().addClass('mobile-width-2');
                $('.icon-tablet,.icon-mobile-1,.icon-monitor,.icon-mobile-2,.icon-mobile-3').removeClass('active');
                $(this).addClass('active');
                return false;
            });

            $(".icon-mobile-1").click(function () {
                $("#by").css("overflow-y", "auto");
                $('#iframe-wrap').removeClass().addClass('mobile-width');
                $('.icon-tablet,.icon-mobile,.icon-monitor,.icon-mobile-2,.icon-mobile-3').removeClass('active');
                $(this).addClass('active');
                return false;
            });

            $(".icon-tablet").click(function () {
                $("#by").css("overflow-y", "auto");
                $('#iframe-wrap').removeClass().addClass('tablet-width');
                $('.icon-tablet,.icon-mobile-1,.icon-monitor,.icon-mobile-2,.icon-mobile-3').removeClass('active');
                $(this).addClass('active');
                return false;
            });

            $(".icon-monitor").click(function () {
                $("#by").css("overflow-y", "hidden");
                $('#iframe-wrap').removeClass().addClass('full-width');
                $('.icon-tablet,.icon-mobile-1,.icon-monitor,.icon-mobile-2,.icon-mobile-3').removeClass('active');
                $(this).addClass('active');
                return false;
            });
        });
    </script>
    <script type="text/javascript">
        function Responsive($a) {
            if ($a == true) $("#Device").css("opacity", "100");
            if ($a == false) $("#Device").css("opacity", "0");
            $('#iframe-wrap').removeClass().addClass('full-width');
            $('.icon-tablet,.icon-mobile-1,.icon-monitor,.icon-mobile-2,.icon-mobile-3').removeClass('active');
            $(this).addClass('active');
            return false;
        };
    </script>
</head>
<body id="by" style="overflow-y: hidden">

<div id="iframe-wrap">
    <iframe id="iframe" src="${ctx}/main/upProxy" frameborder="0" width="100%">
    </iframe>
</div>

<%--<div class="fdad">--%>
    <%--<div class="fdl">Advertisement</div>--%>
    <%--<div class="fdr">x</div>--%>
    <%--<div class="fdadnr">--%>
        <%--<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>--%>
        <%--<!-- 336x280 -->--%>
        <%--<ins class="adsbygoogle"--%>
             <%--style="display:inline-block;width:336px;height:280px"--%>
             <%--data-ad-client="ca-pub-2935286260943234"--%>
             <%--data-ad-slot="6063645905"></ins>--%>
        <%--<script>--%>
            <%--(adsbygoogle = window.adsbygoogle || []).push({});--%>
        <%--</script>--%>
    <%--</div>--%>
<%--</div>--%>
<script type="text/javascript">
    $(document).ready(function () {
        $(".fdr").click(function () {
            $(".fdad").hide();
        });
    });
</script>

<script>
    var _hmt = _hmt || [];
    (function () {
        var hm = document.createElement("script");
        hm.src = "//hm.baidu.com/hm.js?b3a3fc356d0af38b811a0ef8d50716b8";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>


</body>
</html>

